<!--  -->
<template>
  <div id="Footer">
    <span>{{customData.companyName}}</span>
    <span><a :href="customData.url"
         target="_blank"> 官网主页：{{customData.url}}</a></span>
  </div>
</template>

<script>
export default {
  name: 'Footer',
  data () {
    return {
      customData: ''
    }
  },

  components: {},

  computed: {},

  mounted () {
    // 获取配置信息
    this.$http.custom({
      phone: localStorage.getItem('mobile')
    }).then((res) => {
      // console.log(res)
      this.customData = res.data.data
    }).catch((err) => {
      console.log(err)
    })
    // }
  },

  methods: {}
}

</script>
<style lang='less' scoped>
#Footer {
  width: 100%;
  background: #333333;
  color: white;
  position: absolute;
  bottom: 0;
  height: 45px;
  font-size: 12px;
  line-height: 45px;
  span {
    margin: 0 50px;
    a {
      color: white;
      text-decoration: none;
    }
  }
}
</style>
